package cn.example.zjgsu.dao;

import cn.example.zjgsu.pojo.Food;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface FoodMapper {

    List<Food>  getTheBestFood();


    Food selectByPrimaryKey(Integer id);

    List<Food> selectAll();


    List<Food> getCityFood(Integer id);

    Food getShopByFoodid(Integer id);

    String getFoodIntroductionByName(String name);

    List<Food> listFood(@Param("name")String name);

}